﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using IHISCETeim.BLL;
using IHISCETeim.Library;
using IHISCETeim.Model;
using System.Data;

namespace IHISCETeim.Web.MachineSys.WModel
{
    public partial class WOWORComparison : PageBase
    {
        protected override Permission[] PowerKey
        {
            get
            {
                return new Permission[] { Permission.查看 };
            }
        }
        protected override string DWZRef
        {
            get
            {
                return "WOWORComparison";
            }
        }



        protected int docentry1
        {
            get
            {
                return GetRequestValue<int>("docentry1", 0);
            }
        }
        protected int docentry2
        {
            get
            {
                return GetRequestValue<int>("docentry2", 0);
            }
        }

        protected void Page_Load(object sender, EventArgs e)
        {
            DataBind();
        }
       
        protected void DataBind()
        {
            //  string wheresql = QueryOperatorsEnumHelper.ConvertCommonOperator(CommonFiled, QueryOperatorsEnum.包含, CommonValue);
            DataTableCollection DTC = SBOController.IHISCETeim_OWORComparison( docentry1,docentry2);
            this.rpOWOR.DataSource = DTC[0];
            this.rpOWOR.DataBind();

            this.rpComparisonResult.DataSource = DTC[1];
            this.rpComparisonResult.DataBind();
        }

        
    }
}